//
//  PlanItemCell.h
//  Water
//
//  Created by yh on 2017/11/27.
//  Copyright © 2017年 chenguibang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PlanItem.h"
@class PlanItemCell;
@protocol PlanItemCellDelegate

- (void)planItemCell:(PlanItemCell *)planItemCell didSwitch:(UISwitch *)switchBtn isSelect:(BOOL)isSelect model:(PlanItem *)model;

@end


@interface PlanItemCell : UITableViewCell
@property (nonatomic, strong) PlanItem *model;
@property (weak, nonatomic) IBOutlet UISwitch *switchBtn;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *tipsLabel;
@property (nonatomic, assign) id<PlanItemCellDelegate> delegate ;

@end
